package internationalenergytradingplatform.dao;

import internationalenergytradingplatform.pojo.AdministratorAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdministratorAccountDao {
    /**
     * 根据手机号查找管理员全部信息
     */
    @Select("select * from administrators_tb where tele = #{tele}")
    AdministratorAccount getAdministratorByTele(String tele);
}
